<?php

lt_include(PLOG_CLASS_PATH.'class/view/admin/adminplugintemplatedview.class.php');

// implements the main view of the google adsense plugin
class PluginMp3PlayerConfigView extends AdminPluginTemplatedView
{
    function PluginMp3PlayerConfigView($blogInfo)
	{
		$this->AdminPluginTemplatedView($blogInfo, 'mp3player', 'mp3player');
	}

	function render()
	{
		// load some configuration settings
		$blogSettings = $this->_blogInfo->getSettings();
		$pluginEnabled = $blogSettings->getValue('plugin_mp3player_enabled');

		// create a view and export the settings to the template
		$this->setValue('pluginEnabled', $pluginEnabled);

		parent::render();
	}
}

?>
